Repository navigation
fix(pm): dequeue read-back pins and jsdocs; a carried approval refused on a seat signature on any line - #34037
Conversation
…d on a signature on any line - E2: a self-test row pins a failed SECOND pull read after the dequeue (ok, 502, ok, ok): the 502 confirms nothing, the queue is read again and the pair starts over, landing at three polls. - E3: the jsdocs on dequeueAction and dequeuePullAfter now say the pull is read twice, one poll apart, matching the file headers. - D3: the SIZE lift's carrying comment is refused when ANY line holds a seat signature, not only the first; the "signature lower down still carries" row flips to a refusal. Claude-Session: https://claude.ai/code/session_01ADHkmPoZhhhS5uc7UQqwZ7 Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19 Contract reviewServed-tier: Read: card #33768 (body and its 3 comments: triage 6893159294, claim 6897825422, os-dev-report 6898114916; no ruling and no earlier record on the card), PR #34037 (body, file list, net diff against Check-runs on the head, snapshot 2026-11-15T17:12Z: 20 completed ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo
Implemented-by: VERDICT: PASS |
|
domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19 席位核对 · ACCEPT · head
|
Requested by Steve · project thread
Part of #33768
Clause-②: no
Metadata-protocol: none
维护者速读
scripts/pm/fleet-write/两个脚本,不发布;D3 只会让更多评论被拒、不会放宽;回滚 = revert 本 PR。scripts/pm/fleet-write/ops.mjs的enqueueFrontSizeLift(逐行读签名那一行);execute.mjs自测里新增的 "a SECOND pull read that fails" 一行。node scripts/pm/fleet-write/execute.mjs --self-test,应看到 "424 cases pass across 31 batteries"。What changes
Three items of the #33768 checklist (review follow-ups of PR #33732). The rest stay open on the card: the
fleet-write.ymlcomment and the AGENTS.md sentence (Tier H, a later governed batch), N1/E1 (measured at the first live stroke), D2, D4 and N2 (each needs a budget or a ruling).execute.mjsself-test). The rows near the dequeue read-back pinned a failed FIRST pull read (pullLate: 502, ok) and a merge that shows only on the second read (mergedLate), but no failed SECOND read. New row: pull reads ok, 502, ok, ok. The 502 confirms nothing, so the queue is read again at the interval and the pair starts over. It lands at three polls (clock3 * DEQUEUE_POLL_MS), with 5 pull GETs and 4 GraphQL calls. The pr_dequeue battery pin goes 28 → 29, with a roster comment.dequeueActionnow says the pull's own GET reads it open and unmerged TWICE, onepollMsapart, and that a failed second read starts the pair over.dequeuePullAfternow says it judges ONE of the two reads and the executor lands only when both areok. Both match the file headers.scripts/pm/fleet-write/**).enqueueFrontSizeLiftruns the passed-in signature reader on every line of theapproval_comment, not only the first non-empty one. A seat signature on any line refuses the carry, and the reading says "holds the seat signature". The row "⭐ CARRIED, the other way: … signature line further down … still carries it" flips to "⛔ CARRIED, refused on ANY line", which also checks that the reading names the seat. The SIZE lift battery stays at 12 cases; its name ("holding a seat signature on any line"), theops.mjsheader paragraph and theexecute.mjsheader sentence now say any line. The reader stays passed in, soops.mjsstill imports no guard.No changeset: the diff is
scripts/pm/**only and publishes nothing (skip-changeset).Tests
At head 1c433b2:
node scripts/pm/fleet-write/execute.mjs --self-test: 424 cases pass across 31 batteries (423 at base c3c0c30).Ablations (both red on exactly the new pin, restored, `git diff HEAD` empty)
Run with
node scripts/ablation-replace.mjs(the anchor must hit, restore is checked on disk) after the fix was committed.if (after.ok) returnchanged toif (after.ok || after.pending) return. Result:✗ a SECOND pull read that fails (ok, 502) … — got [0,3000,3,3], want [0,9000,5,4], 1 of 424 failed.signatureOf(c.body)(first line only). Result:✗ ⛔ CARRIED, refused on ANY line … — got [[0,1,200],false], want [[5,0,"not sent"],true], 1 of 424 failed.Acceptance notes
execute.mjs. Their hunks do not overlap these. Whichever lands later rebases; the floor and the per-battery pins here move independently of fix(pm): open mailboxes unlocked again — a locked mailbox refuses the relay's own comment #34022's.Verification
Derived gates (37 of 37 exit 0, at head 1c433b2)
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstacklisted 37 commands; each one exited 0: check-closing-keyword-parity (+ self-test), check-comment-mask-corpus, check-declaration-mirrors (+ self-test), check-self-test-wired (+ self-test), check-self-test-workflow-commands (+ self-test), check-whole-set-label-write (+ self-test), plan-test-core-shards self-test, bare-root-worklist self-test, and the pnpm checks agent-test-spelling, bash32-floor, ci-filter-parity, cli-command-ids, cross-package-test-inputs, driver-memory-census, entry-guard, gitlink-declared, nul-bytes, parse-guard, pm-close-cards, pm-dispatch-gates, pm-fleet-write-dispatch, pm-fleet-write-execute, pm-fleet-write-validate, pm-issue-transfer, pm-post-stamped, pm-record-recognisers, pm-write-pace, pnpm-filter-targets, pnpm-flag-spellings, refd-timer-probe, scripts-symbol-anchors, watch-hint-literal.--ranreconciliation:✓ dispatch-gates --ran: 37 derived famil(ies) accounted for — 37 run, 0 NOT-MEASURED (a DERIVED zero — all 37 recorded an exit code and none of them is 3).🤖 Generated with Claude Code
https://claude.ai/code/session_01ADHkmPoZhhhS5uc7UQqwZ7
Generated by Claude Code